package com.gzz.orchid.main.facade.controller.pojo.record;

import java.math.BigDecimal;
import java.util.List;

public record OrderRecord(Long orderId, List<LineItem> items, AddressRecord address) {
    // 嵌套类record定义
    public record LineItem(Long productId, String productName, int quantity, BigDecimal price) {
    }

    public record AddressRecord(String street, String city, String state, String zip) {
    }
}
